package com.example.projectcode.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@NoArgsConstructor
@AllArgsConstructor
@ToString
@Data
public class Student {

       @TableId(type = IdType.AUTO,value = "Stu_id")
       private Integer StuId;
       @TableField("username")
       private String username;
      @TableField("password")
       private String password;
     @TableField("phone")
       private String phone;
      @TableField("grade")
       private String grade;
     @TableField("school")
       private String school;

}
